﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Collections.ObjectModel;

namespace AirLinq.Providers.Sql {
	public class SqlInList : SqlIn{
		private readonly ReadOnlyCollection<SqlExpression> _list;
		public SqlInList(SqlExpression test, ReadOnlyCollection<SqlExpression> list)
			: base(test) {
			_list = list;
		}
		public ReadOnlyCollection<SqlExpression> ExpressionList {
			get {
				return _list;
			}
		}
		public override SqlNodeType NodeType {
			get {
				return SqlNodeType.InList;
			}
		}
	}
}
